package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;
import java.util.Map;

/**
 * 攻击评估对象 a_attack
 * 
 * @author ruoyi
 * @date 2020-07-08
 */
public class AAttack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 攻击评估ID */
    private Long aId;

    /** 标题 */
    @Excel(name = "标题")
    private String aTitle;

    /** 攻击类型 */
    @Excel(name = "攻击类型")
    private String aType;

    /** 区域 */
    @Excel(name = "区域")
    private String aArea;

    /** 时间段 */
    @Excel(name = "时间段")
    private String aTime;

    /** 完整数 */
    @Excel(name = "完整数")
    private String aP1;

    /** 关联数 */
    @Excel(name = "关联数")
    private String aP2;

    /** 完整数系数 */
    @Excel(name = "完整数系数")
    private String aQ1;

    /** 关联数系数 */
    @Excel(name = "关联数系数")
    private String aQ2;

    /** 攻击概率 */
    @Excel(name = "攻击概率")
    private String aRate;
    /**完整性要素*/
    private List<Map> wzxs;

    /**关联性要素*/
    private List<Map> glxs ;

    /**关联性要素*/
    private List<Map> scores;

    /**完整性要素-详情用*/
    private List<AWzs> wzxsObj;

    /**关联性要素-详情用*/
    private List<AWzs> glxsObj ;

    /**关联性要素-详情用*/
    private List<AScore> scoresObj;

    public void setaId(Long aId)
    {
        this.aId = aId;
    }

    public Long getaId()
    {
        return aId;
    }
    public void setaTitle(String aTitle) 
    {
        this.aTitle = aTitle;
    }

    public String getaTitle() 
    {
        return aTitle;
    }
    public void setaType(String aType) 
    {
        this.aType = aType;
    }

    public String getaType() 
    {
        return aType;
    }
    public void setaArea(String aArea) 
    {
        this.aArea = aArea;
    }

    public String getaArea() 
    {
        return aArea;
    }
    public void setaTime(String aTime) 
    {
        this.aTime = aTime;
    }

    public String getaTime() 
    {
        return aTime;
    }
    public void setaP1(String aP1) 
    {
        this.aP1 = aP1;
    }

    public String getaP1() 
    {
        return aP1;
    }
    public void setaP2(String aP2) 
    {
        this.aP2 = aP2;
    }

    public String getaP2() 
    {
        return aP2;
    }
    public void setaQ1(String aQ1) 
    {
        this.aQ1 = aQ1;
    }

    public String getaQ1() 
    {
        return aQ1;
    }
    public void setaQ2(String aQ2) 
    {
        this.aQ2 = aQ2;
    }

    public String getaQ2() 
    {
        return aQ2;
    }
    public void setaRate(String aRate) 
    {
        this.aRate = aRate;
    }

    public String getaRate() 
    {
        return aRate;
    }

    public List<Map> getWzxs() {
        return wzxs;
    }

    public void setWzxs(List<Map> wzxs) {
        this.wzxs = wzxs;
    }

    public List<Map> getGlxs() {
        return glxs;
    }

    public void setGlxs(List<Map> glxs) {
        this.glxs = glxs;
    }

    public List<Map> getScores() {
        return scores;
    }

    public void setScores(List<Map> scores) {
        this.scores = scores;
    }

    public List<AWzs> getWzxsObj() {
        return wzxsObj;
    }

    public void setWzxsObj(List<AWzs> wzxsObj) {
        this.wzxsObj = wzxsObj;
    }

    public List<AWzs> getGlxsObj() {
        return glxsObj;
    }

    public void setGlxsObj(List<AWzs> glxsObj) {
        this.glxsObj = glxsObj;
    }

    public List<AScore> getScoresObj() {
        return scoresObj;
    }

    public void setScoresObj(List<AScore> scoresObj) {
        this.scoresObj = scoresObj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aId", getaId())
            .append("aTitle", getaTitle())
            .append("aType", getaType())
            .append("aArea", getaArea())
            .append("aTime", getaTime())
            .append("aP1", getaP1())
            .append("aP2", getaP2())
            .append("aQ1", getaQ1())
            .append("aQ2", getaQ2())
            .append("aRate", getaRate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
